home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / cgesc2.z / cgesc2
Encoding:
Text File  |  2002-10-03  |  3.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCGGGGEEEESSSSCCCC2222((((3333SSSS))))                                                          CCCCGGGGEEEESSSSCCCC2222((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CGESC2 - solve a system of linear equations  A * X = scale* RHS  with a
  10.      general N-by-N matrix A using the LU factorization with complete pivoting
  11.      computed by CGETC2
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE CGESC2( N, A, LDA, RHS, IPIV, JPIV, SCALE )
  15.  
  16.          INTEGER        LDA, N
  17.  
  18.          REAL           SCALE
  19.  
  20.          INTEGER        IPIV( * ), JPIV( * )
  21.  
  22.          COMPLEX        A( LDA, * ), RHS( * )
  23.  
  24. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  25.      These routines are part of the SCSL Scientific Library and can be loaded
  26.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  27.      directs the linker to use the multi-processor version of the library.
  28.  
  29.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  30.      4 bytes (32 bits). Another version of SCSL is available in which integers
  31.      are 8 bytes (64 bits).  This version allows the user access to larger
  32.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  33.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  34.      only one of the two versions; 4-byte integer and 8-byte integer library
  35.      calls cannot be mixed.
  36.  
  37. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  38.      CGESC2 solves a system of linear equations A * X = scale* RHS with a
  39.      general N-by-N matrix A using the LU factorization with complete pivoting
  40.      computed by CGETC2.
  41.  
  42.  
  43. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  44.      N       (input) INTEGER
  45.              The number of columns of the matrix A.
  46.  
  47.      A       (input) COMPLEX array, dimension (LDA, N)
  48.              On entry, the  LU part of the factorization of the n-by-n matrix
  49.              A computed by CGETC2:  A = P * L * U * Q
  50.  
  51.      LDA     (input) INTEGER
  52.              The leading dimension of the array A.  LDA >= max(1, N).
  53.  
  54.      RHS     (input/output) COMPLEX array, dimension N.
  55.              On entry, the right hand side vector b.  On exit, the solution
  56.              vector X.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCGGGGEEEESSSSCCCC2222((((3333SSSS))))                                                          CCCCGGGGEEEESSSSCCCC2222((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      IPIV    (input) INTEGER array, dimension (N).
  75.              The pivot indices; for 1 <= i <= N, row i of the matrix has been
  76.              interchanged with row IPIV(i).
  77.  
  78.      JPIV    (input) INTEGER array, dimension (N).
  79.              The pivot indices; for 1 <= j <= N, column j of the matrix has
  80.              been interchanged with column JPIV(j).
  81.  
  82.      SCALE    (output) REAL
  83.               On exit, SCALE contains the scale factor. SCALE is chosen 0 <=
  84.               SCALE <= 1 to prevent owerflow in the solution.
  85.  
  86. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  87.      Based on contributions by
  88.         Bo Kagstrom and Peter Poromaa, Department of Computing Science,
  89.         Umea University, S-901 87 Umea, Sweden.
  90.  
  91.  
  92. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  93.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  94.  
  95.      This man page is available only online.
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.